SlkSettings.FindQuerySetDefinition Method

Locates a QuerySetDefinition in a list of query sets given its name. If requested, the list of queries is searched in addition to the list of query sets; in that case, if a query name matching the query set name is found, a QuerySetDefinition containing only that query is returned.

Parent Type: SlkSettings

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public QuerySetDefinition FindQuerySetDefinition (
string querySetName,
bool searchQueries

)

Parameters

querySetName

The name of the query set (or query) or query to look for.

searchQueries

If true, the list of queries is searched (for a query named querySetName) in addition to the list of query sets. If false, only the list of query sets is searched.

Return Value

The requested QuerySetDefinition, or null if none was found.